import { createStore } from 'vuex'
import {state} from "./state";
import {mutations} from './mutations';
import {actions} from "./actions";
import {getters} from "./getters";
import globalStore from "./modules/globalStore";
// Create a new index instance.
const store = createStore({
  modules: {
    globalStore
  },
  state,
  mutations,
  actions,
  getters
})
export default store;
